//methods to test the functions in word32

#include "word32.h"
#include <iostream>

//main method
//calls the other methods
//return true if all test pass
//false if one of the tests fail
bool test_word32();

//test constructor and converting to string
bool test_w32_constructAndToString();

//test getBit
bool test_w32_get();

//test setBit
bool test_w32_set();

//test clearBit
bool test_w32_clear();

//test setVal
bool test_w32_val();

//test logical operators
bool test_w32_op();

//test arithmetic
bool test_w32_arithmetic();

//test shift operators
bool test_w32_shift();

//test weight
bool test_w32_weight();

//test equal
bool test_w32_equal();

//test assign
bool test_w32_assign();
